package com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule;

import com.njtoyo.taxi.admin.mapper.master.fields.operation_rule.QrCodeRate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class QrCodeCreateWrapper {
    @ApiModelProperty(value = "司机运营区", required = true)
    @NotNull(message = "司机运营区不能为空")
    private Long driverRegionId;

    @ApiModelProperty(value = "是否启用", required = true)
    @NotNull(message = "是否启用不能为空")
    private Boolean isOpen;

    @ApiModelProperty(value = "配置详情", required = true)
    @NotNull(message = "详情不能为空")
    @Valid
    private QrCodeRate detailSpecification;



}
